<!DOCTYPE html>
<html lang="de">
<head>
  <meta charset="utf-8"/>
  <title>Login</title>

  <!-- Mobile viewport optimisation -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <link href="<?php echo $basePath; ?>/css/youobserve/flexible-grids.css" rel="stylesheet" type="text/css"/>
  <!--[if lte IE 7]>
  <link href="<?php echo $basePath; ?>/library/yaml4/core/iehacks.css" rel="stylesheet" type="text/css" />
  <![endif]-->

  <link href="<?php echo $basePath; ?>/css/youobserve/contact.css" rel="stylesheet" type="text/css"/>

  <!--[if lt IE 9]>
  <script src="<?php echo $basePath; ?>/library/yaml4/lib/html5shiv/html5shiv.js"></script>
  <![endif]-->

<script type="text/javascript" src="library/jquery/jquery-1.11.0.min.js"></script>

<script type="text/javascript">

$(document).ready(function () {

  $("#menu").hide();

  $('#observation').click(function () {
    $("#menu").show();
  });

});
</script>

<style type="text/css"><?php for ($i=$loop;$i<($loop+$loop_count);$i++): ?>#_<?php echo $i; ?>{<?php if($loop_display == $i): ?>display:block;<?php else: ?>display:none;<?php endif; ?>}<?php endfor; ?></style>

</head>

<body>

<?php echo $this->partial('layout/_navigation.phtml',
                          $partialData); ?>

<main>

    <div class="ym-wrapper">
        <div class="ym-wbox">


            <section class="ym-grid linearize-level-1">
                <article class="ym-g66 ym-gl content">
                    <div class="ym-gbox-left ym-clearfix">

                        <!-- begin: error messages -->
                        <?php if(count($error)>0): ?>
                          <div id="error">
                            <a name="setup_error"></a>
                            <h2>Message:</h2>
                            <ul role="status">
                            <?php foreach($error as $err): ?>
                              <li class="error"><?php echo $err; ?></li>
                            <?php endforeach; ?>
                            </ul>
                          </div>
                        <?php endif; ?>
                        <!-- end: error messages -->

                        <form name="form_contact" id="form_contact" method="post" action="<?php echo $basePath; ?>/contact/dos" accept-charset="utf-8">

                         <ul class="ul_contact">
                            <?php if (isset($sent)): ?>
                            <li class="contact_content">
                                <p>Ihre Kontaktinformationen wurden abgesendet</p>
                            </li>
                            <?php endif; ?>

                            <li class="contact_content">
                                <textarea placeholder="Kontakt informationen" name="contact_content" id="contact_content" cols="50" rows="10"></textarea>
                            </li>

                            <li class="contact_content">
                                <?php for ($i=$loop;$i<($loop+$loop_count);$i++): ?>
                                <input type="submit" name="_<?php echo $i; ?>" id="_<?php echo $i; ?>" value="Submit" />
                                <?php endfor; ?>
                            </li>
                        </ul>

                        </form>

                    </div>
                </article>
                <aside class="ym-g33 ym-gr">

                </aside>
            </section>
        </div>
    </div>
</main>

<?php echo $this->partial('layout/_footer.phtml',
                          $partialData); ?>

</body>
</html>
